package Message;

import reso.ip.IPAddress;
import DSRStructure.DSRRoutingEntry;

public class RREQMessage extends DSRMessage 
implements Cloneable{

	public RREQMessage( IPAddress addrdestination, DSRRoutingEntry route ){
		super(DSRMessage.Type.RREQ, addrdestination, route );
//		System.out.println( "RREQMESSAGE constructor : " + this.toString()) ;

	}

	
	public RREQMessage(RREQMessage message){
		this.id = message.id ;
		this.ipAddrDest = message.ipAddrDest ;
		this.type = message.type ;
		this.route = message.route.clone() ;
//		super(message.type, message.ipAddrDest, message.listAdress);
	} 
	
	public void addDSR(IPAddress ipadrs) {
//	this.listAdress.add(ipadrs.getByAddress()) ;
//	id_uniq_by_message++ ;
	
	}
	
	
}
